#pragma once
#include "svn_ver.h"
#define _STRINGER(s) #s
#define STRINGER(s) _STRINGER(s) 
#define VERSION_STATUS_RELEASE		0
#define VERSION_STATUS_BETA			1
#define VERSION_STATUS_ALPHA		2
#define VERSION_STATUS_DEBUG		3
#define VERSION_STATUS_UNKNOWN		99
#define VERSION_MAJOR				1
#define VERSION_MINOR				0
#define VERSION_REVISION			SVN_REV
#if _RELEASE
	#define VERSION_STATUS		VERSION_STATUS_RELEASE
#else
	#if _BETA
		#define VERSION_STATUS		VERSION_STATUS_BETA
	#else
		#if VER_ALPHA
			#define VERSION_STATUS		VERSION_STATUS_ALPHA
		#else
			#if _DEBUG
				#define VERSION_STATUS		VERSION_STATUS_DEBUG
			#else
				#define VERSION_STATUS		VERSION_STATUS_UNKNOWN
			#endif
		#endif
	#endif
#endif
#define VERSION_BUILD				VERSION_STATUS
#define VER_FILE_COMPANY_STR		"GTAG Modding"
#define VER_FILE_DESCRIPTION_STR	"SCRambl SCR Compiler"
#define VER_FILE_VERSION			VERSION_MAJOR,VERSION_MINOR,VERSION_REVISION,VERSION_BUILD
#define VER_FILE_VERSION_STR		STRINGER(VERSION_MAJOR)			\
									"."	STRINGER(VERSION_MINOR)		\
									"."	STRINGER(VERSION_REVISION)	\
									"."	STRINGER(VERSION_BUILD)		\

#define VER_PRODUCT_NAME_STR		"SCRambl"
#define VER_PRODUCT_VERSION         VERSION_MAJOR,VERSION_MINOR,VERSION_REVISION,VERSION_BUILD
#ifdef _DEBUG
	#define VER_PRODUCT_VERSION_STR     VER_FILE_VERSION_STR"a"
#else
	#define VER_PRODUCT_VERSION_STR     VER_FILE_VERSION_STR
#endif
#define VER_ORIGINAL_FILENAME_STR	VER_PRODUCT_NAME_STR ".exe"
#define VER_INTERNAL_NAME_STR		VER_ORIGINAL_FILENAME_STR
#define VER_LEGAL_COPYRIGHT_STR		"Copyright (C) Deji 2013"
